﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Model
{
    /// <summary>
    /// 设备租借记录
    /// </summary>
    [Serializable]
    public partial class EquipmentRent
    {
        public EquipmentRent()
        { }
        #region Model
        private int _id;
        private int _eid;
        private string _renter;
        private string _rentertel;
        private string _used;
        private DateTime _rentdate;
        private int? _timeday;
        private string _allower;
        private DateTime? _returndate;
        private string _checker;
        private bool _isreturn = false;

        public LabEquipment Equipment { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 设备ID
        /// </summary>
        public int EID
        {
            set { _eid = value; }
            get { return _eid; }
        }
        /// <summary>
        /// 租借人
        /// </summary>
        public string renter
        {
            set { _renter = value; }
            get { return _renter; }
        }
        /// <summary>
        /// 租借人电话
        /// </summary>
        public string renterTel
        {
            set { _rentertel = value; }
            get { return _rentertel; }
        }
        /// <summary>
        /// 租借用途
        /// </summary>
        public string used
        {
            set { _used = value; }
            get { return _used; }
        }
        /// <summary>
        /// 租出日期
        /// </summary>
        public DateTime rentDate
        {
            set { _rentdate = value; }
            get { return _rentdate; }
        }
        /// <summary>
        /// 借用时长（日）
        /// </summary>
        public int? timeDay
        {
            set { _timeday = value; }
            get { return _timeday; }
        }
        /// <summary>
        /// 批准租借人
        /// </summary>
        public string allower
        {
            set { _allower = value; }
            get { return _allower; }
        }
        /// <summary>
        /// 归还日期
        /// </summary>
        public DateTime? returnDate
        {
            set { _returndate = value; }
            get { return _returndate; }
        }
        /// <summary>
        /// 归还验收人
        /// </summary>
        public string checker
        {
            set { _checker = value; }
            get { return _checker; }
        }
        /// <summary>
        /// 是否归还
        /// </summary>
        public bool isReturn
        {
            set { _isreturn = value; }
            get { return _isreturn; }
        }
        #endregion Model

    }
}
